
import React from "react";
import Parent from "./components/demo1/parent";
import Home from "./components/home";
import { HashRouter, Route, Switch  } from "react-router-dom";

function App() {
  return (
    <HashRouter >
     <Switch>
        <Route exact path="/" component={Home}></Route>
        <Route path="/parent" component={Parent}></Route>
     </Switch>
    </HashRouter>
  );
}

export default App;
